//
//  BasePublicCreatUI.h
//  ShoeSApp
//
//  Created by Jack's Mac on 2017/1/16.
//  Copyright © 2017年 Jack. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <UIKit/UIKit.h>
@interface BasePublicCreatUI : NSObject

////创建UITextField
+(UITextField *)createTextFielfFrame:(CGRect)frame font:(UIFont *)font placeholder:(NSString *)placeholder;
////创建UIImageView
+(UIImageView *)createImageViewFrame:(CGRect)frame imageName:(NSString *)imageName color:(UIColor *)color;
////创建UIButton
+(UIButton *)createButtonFrame:(CGRect)frame backImageName:(NSString *)imageName title:(NSString *)title titleColor:(UIColor *)color font:(UIFont *)font target:(id)target action:(SEL)action;


//创建UILabel的方法
+ (UILabel *)createLabelFrame:(CGRect)frame title:(NSString *)title textColor:(UIColor *)color textAlignment:(NSTextAlignment)textAlignment font:(UIFont *)font;

//创建UIButton的方法
+ (UIButton *)createBtnFrame:(CGRect)frame title:(NSString *)title bgImage:(NSString *)bgImageName selectBgImage:(NSString *)selectImageName image:(NSString *)imageName target:(id)target action:(SEL)action;

//创建UIImageView的方法
//+ (UIImageView *)createImageViewFrame:(CGRect)frame imageName:(NSString *)imageName;



//+ (UITextField *)createTextFiledFrame:(CGRect)frame placeHolder:(NSString *)placeHolder;
//

@end
